<%@ page language="java" isELIgnored="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/ResourceGlobal.jsp"%>
<html>
	<head>
		 <!-- 这里引入导航信息header.tpl -->
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>招商财富Solution - 投资研究 - 新增投资研究报告 ( ${title} ) </title>
		<script type="text/javascript">
		var investmentResearchPath = '<%=context%>business/investmentResearch/';
			//默认加载
			$(function(){
				//把访问路径传到js
				setPathPrefix(investmentResearchPath);
				window.investmentResearchAdd = new INVESTMENT_RESEARCH_ADD();
			});
		</script>
	</head>
	<body class="sub-page">
		<jsp:include page="/WEB-INF/jsp/system/index/homeHead.jsp">
			<jsp:param name="currentActive" value="tzyj" />
		</jsp:include>
		
		<div class="location">
			<i class="fas fa-home"></i>
			<p>您现在的位置：主页</p>
			<p class="current">&gt;投资研究</p>
			<p class="current">&gt;新增</p>
		</div>
		<div class="container">
		<div class="page-content">
		    <form id="investmentResearchAddForm" name="investmentResearchAddForm" role="form" method="post" class="form-horizontal">
		    	<div class="model">
	      			<div class="model-head">
	      				<span class="head-boder-left"></span>
	        			<h2>新增投资研究报告 ( ${title} )</h2>
						<input name="researchType" value="${researchType}" type="hidden">
	      			</div>
	      			
	      			<div class="model-content">
						<div class="form-group">
			            	<label class="col-sm-2 control-label">标题<span class="text-danger">*</span></label>
				            <div class="col-sm-10 form-inner">
			 					<input class="form-control" placeholder="标题" id="researchTitle" name="researchTitle">
							</div>
				        </div>
						<div class="form-group">
			            	<label class="col-sm-2 control-label">摘要<span class="text-danger">*</span></label>
				            <div class="col-sm-10 form-inner">
			 					<textarea rows="4" class="form-control" id="researchAbstract" name="researchAbstract"></textarea>
							</div>
				        </div>
			            <div class="form-group">
							<label class="col-sm-2 control-label">正文<span class="text-danger">*</span></label>
							<div class="col-sm-10 form-inner">
								<textarea id="researchContent" name="researchContent" class="form-control"></textarea>
							</div>
						</div>
					</div>
				</div>	
				<div class="model">
					<div class="model-head">
						<span class="head-boder-left"></span>
						<h2>附件</h2>
					</div>
					<div class="model-content clear">
						<jsp:include page="/WEB-INF/jsp/system/sys/attach/attachView.jsp">
							<jsp:param name="attachList" value="${attachList}"/>
							<jsp:param name="resourceId" value=""/>
							<jsp:param name="module" value="researchInfoAddView" />
							<jsp:param name="hasPermission" value="investmentResearchAdd" />
							<jsp:param name="resourceSign" value="INVESTMENT_RESEARCH"/>
							<jsp:param name="hidAttIdField"  value="{{attId}}"/>
						</jsp:include> 
					</div>
				</div>
			    <div class="page-footer" >
					<button type="button" id="submitBtn" class="btn btn-primary btn-save btn-loading btn-w-xs" data-loading-text="<i class='ico-loading'></i>" onclick="investmentResearchAdd.submitForm()">提交</button>
					<button type="button" id="cancelBtn" class="btn btn-link btn-w-xs" onclick="window.close();">取消</button>
				</div>
			</form>
		</div>
		</div>
		<script type="text/javascript" src="<%=context%>resources/modules/business/investmentResearch/investmentResearch.add.js?r=<%=Math.random()%>"></script>
	</body>
</html>